package me.sealer.ssm.mapper;

import me.sealer.ssm.model.Permission;
import me.sealer.ssm.model.PermissionExample;

import java.util.List;

/**
 * @author sealer
 * @date 2018/05/11
 */
public interface PermissionMapper {
    List<Permission> selectByExample(PermissionExample example);

    Permission selectByPrimaryKey(Integer id);

    List<Permission> getPermissionsByRoleId(Integer roleId);
}